package org.polaris.gift.service;

import org.polaris.gift.domain.Tenant;
import com.baomidou.mybatisplus.service.IService;
import org.polaris.gift.dto.TenantOccupancyDTO;
import org.polaris.gift.query.TenantQuery;
import org.polaris.gift.util.AjaxResult;
import org.polaris.gift.util.PageList;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author polaris
 * @since 2023-06-24
 */
public interface ITenantService extends IService<Tenant> {

    PageList<Tenant> advancedAndAssociatedQueryAndPaging(TenantQuery query);

    AjaxResult tenantOccupancy(TenantOccupancyDTO dto);

}
